Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing File Objects


Q3File_OpenRead

You can use the Q3File_OpenRead function to open a file object for reading.

TQ3Status Q3File_OpenRead (
TQ3FileObject file, 
TQ3FileMode *mode);
file
A file object.
mode
On exit, a set of bit flags that specify the file mode of the specified file object. Set this field to NULL if you do not want a file mode to be returned.
DESCRIPTION
The Q3File_OpenRead function opens for reading the file object specified by the file parameter and returns, in the mode parameter, the file mode of the file object. See "File Mode Flags" on page 17-12 for a description of the available file mode flags.

ERRORS
kQ3ErrorOSError
kQ3ErrorOutOfMemory


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996